package com.nimitz.module.demo.domain.dto;

import com.nimitz.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户入参Dto
 */
@ApiModel(value = "DemUserDto", description = "用户入参Dto")
public class DemUserDto {
    private static final long serialVersionUID = 1L;

    /**
     * 用戶名称
     */
    @Excel(name = "用戶名称")
    @ApiModelProperty(value = "用戶名称")
    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("userName", getUserName())
                .toString();
    }
}
